/* Non utility CSS */

html {
    overflow-x: hidden;
}

/**
 * Shortcode : [mobile_menu]
 */
#mobile-menu-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background-color: var(--color-blue-900);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, -1) 80%, rgba(5, 220, 127, 0.10));
}

#mobile-menu-dialog.show {
    opacity: 1;
}

#mobile-menu-dialog.closing {
    opacity: 0;
    transition: opacity 0.25s ease;
}

#mobile-menu-dialog.closing * {
    transition: none !important;
}

#mobile-menu-dialog-header {
    display: flex;
    justify-content: space-between;
    padding: 25px 20px;
    overflow: hidden;
}

#mobile-menu-dialog-header > * {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu-dialog.show #mobile-menu-dialog-header > *:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

#mobile-menu-dialog.show #mobile-menu-dialog-header > *:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

#mobile-menu-open-button, #mobile-menu-close-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    height: 40px;
    width: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list-wrapper {
    padding: 25px;
}

#mobile-menu-logo {
    max-width: 60%;
    margin-top: -5px;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-menu-list a {
    color: var(--color-grey-100);
    font-size: var(--text-32pt);
    font-family: var(--font-family-secondary);
    font-weight: 700;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu-dialog.show .mobile-menu-list a {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu-dialog.show .mobile-menu-list a:nth-child(1) { transition-delay: 0.15s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(3) { transition-delay: 0.25s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(4) { transition-delay: 0.3s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(5) { transition-delay: 0.35s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(6) { transition-delay: 0.4s; }


/**
 * Active menu item styling
 */
.active-menu-item {
	color: var(--color-yellow-500) !important;
}

.active-mobile-menu-item {
	color: var(--color-yellow-500) !important;
}


/**
 * Reset list styles
 */
ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/**
 * Button spinner en submit button
 */
.form-submit {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: var(--default-transition);

    &:hover {
        opacity: 0.75;
    }
}

.button-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0;
    opacity: 0;
    overflow: hidden;
    margin-left: 0;
    transition: width 0.25s ease, opacity 0.25s ease, margin-left 0.25s ease;
}

.button-spinner .button-spinner-svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transform-origin: center;
    animation: button-spinner-rotate 2s linear infinite;
}

.button-spinner .button-spinner-circle {
    fill: none;
    stroke: var(--color-blue-900);
    stroke-width: 4;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: button-spinner-dash 1.5s ease-in-out infinite;
}

.form-submit.is-loading .button-spinner {
    width: 1.25rem;
    opacity: 1;
    margin-left: 12px;
}

@keyframes button-spinner-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes button-spinner-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dashoffset: -125px;
    }
}


/**
 * Contact form
 */
#contact-form {
    & input, & select, & textarea {
        width: 100%;
        background-color: rgba(239, 241, 239, 0.05);
        border-color: rgba(239, 241, 239, 0.25);
        color: rgba(239, 241, 239, 0.5);
        border-radius: var(--default-border-radius-sm);
        padding: 14px 20px;
        font-size: var(--text-18pt);
        &::placeholder {
            color: rgba(239, 241, 239, 0.5);
        };
    }

    & button {
        background-color: var(--color-yellow-500);
        color: var(--color-blue-900);
        border-radius: var(--default-border-radius-lg);
        border: 1px solid rgba(112, 112, 112, 0.1);
        font-size: var(--text-18pt);
        font-weight: 700;
        font-family: var(--font-family-secondary);
        letter-spacing: -1px;
        padding: 8px 18px !important;
        width: fit-content;
    }
}

/**
 * Quote form
 */
#quote-form {
    & input, & select, & textarea {
        width: 100%;
        background-color: rgba(239, 241, 239, 0.05);
        border-color: rgba(239, 241, 239, 0.25);
        color: rgba(239, 241, 239, 0.5);
        border-radius: var(--default-border-radius-sm);
        padding: 14px 20px;
        font-size: var(--text-18pt);
        &::placeholder {
            color: rgba(239, 241, 239, 0.5);
        };
    }

    & .quote-file-upload__input {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    & .quote-file-upload {
        display: block;
        width: 100%;
        background-color: rgba(239, 241, 239, 0.05);
        border: 1px solid rgba(239, 241, 239, 0.25);
        border-radius: var(--default-border-radius-sm);
        padding: 14px 20px;
        font-size: var(--text-18pt);
        cursor: pointer;
    }

    & .quote-file-upload__text {
        color: rgba(239, 241, 239, 0.5);
    }

    & .quote-file-list {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-top: 8px !important;
        list-style: none !important;
        padding: 0 !important;
    }

    & .quote-file-list__item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 16px;
        background-color: rgba(239, 241, 239, 0.05);
        border: 1px solid rgba(239, 241, 239, 0.25);
        border-radius: var(--default-border-radius-sm);
    }

    & .quote-file-list__info {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    & .quote-file-list__name {
        color: rgba(239, 241, 239, 0.8);
        font-size: var(--text-16pt);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    & .quote-file-list__size {
        color: rgba(239, 241, 239, 0.4);
        font-size: var(--text-14pt);
        flex-shrink: 0;
    }

    & .quote-file-list__actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    & .quote-file-list__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        background: transparent;
        border: 1px solid rgba(239, 241, 239, 0.2);
        border-radius: 6px;
        color: rgba(239, 241, 239, 0.5);
        cursor: pointer;
        transition: all 0.2s ease;

        &:hover {
            color: rgba(239, 241, 239, 0.9);
            border-color: rgba(239, 241, 239, 0.4);
            background-color: rgba(239, 241, 239, 0.1);
        }
    }

    & .quote-file-list__btn--delete:hover {
        color: #ef4444;
        border-color: rgba(239, 68, 68, 0.4);
        background-color: rgba(239, 68, 68, 0.1);
    }

    & button {
        background-color: var(--color-yellow-500);
        color: var(--color-blue-900);
        border-radius: var(--default-border-radius-lg);
        border: 1px solid rgba(112, 112, 112, 0.1);
        font-size: var(--text-18pt);
        font-weight: 700;
        font-family: var(--font-family-secondary);
        letter-spacing: -1px;
        padding: 8px 18px;
        cursor: pointer;
        transition: var(--default-transition);
        
        &:hover {
            opacity: 0.75;
        }
    }

    & .quote-checkbox__text {
        font-size: var(--text-18pt);
        font-weight: 400;
        color: rgba(239, 241, 239, 1);
    }

     & .quote-checkbox {
        user-select: none;
        -webkit-user-select: none;
    }
    
    & .quote-checkbox input {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    
    & .quote-checkbox__box {
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(239, 241, 239, 0.05);
        border: 1px solid rgba(239, 241, 239, 0.25);
        border-radius: var(--default-border-radius-sm);
        transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
    }
    
    & .quote-checkbox__icon {
        opacity: 0;
        transform: scale(0);
        transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    & .quote-checkbox__icon svg {
        width: 24px;
        height: 24px;
    }
    
    & .quote-checkbox:hover .quote-checkbox__box {
        border-color: rgba(239, 241, 239, 0.5);
    }
    
    & .quote-checkbox:active .quote-checkbox__box {
        transform: scale(0.97);
    }
    
    & .quote-checkbox input:checked + .quote-checkbox__box {
        background-color: rgba(239, 241, 239, 0.15);
        border-color: rgba(239, 241, 239, 0.5);
    }
    
    & .quote-checkbox input:checked + .quote-checkbox__box .quote-checkbox__icon {
        opacity: 1;
        transform: scale(1);
    }
    
    & .quote-checkbox input:focus-visible + .quote-checkbox__box {
        outline: 2px solid rgba(239, 241, 239, 0.5);
        outline-offset: 2px;
    }
}

/**
 * Buttons
 */
#button-transparent {
    color: var(--color-grey-100);
    background-color: rgba(239, 241, 239, 0.05);
    border: 1px solid rgba(239, 241, 239, 0.25);
    border-radius: var(--default-border-radius-lg);
    padding: 8px 18px;
    font-size: var(--text-18pt);
    font-weight: 700;
    font-family: var(--font-family-secondary);
    letter-spacing: -1px;
    width: fit-content;
    transition: var(--default-transition);

    &:hover {
        background-color: rgba(239, 241, 239, 0.20);
        border-color: rgba(239, 241, 239, 0.5);
    }
}

#button-yellow {
    color: var(--color-blue-900);
    background-color: var(--color-yellow-500);
    border-radius: var(--default-border-radius-lg);
    font-size: var(--text-18pt);
    font-weight: 700;
    font-family: var(--font-family-secondary);
    letter-spacing: -1px;
    padding: 8px 18px;
    width: fit-content;
    transition: var(--default-transition);

    &:hover {
        opacity: 0.75;
    }
}

#button-yellow-alternative {
    color: var(--color-blue-900);
    background-color: var(--color-yellow-500);
    border-radius: var(--default-border-radius-lg);
    font-size: var(--text-32pt);
    font-weight: 700;
    font-family: var(--font-family-secondary);
    letter-spacing: -1px;
    padding: 16px 32px;
    width: fit-content;
    transition: var(--default-transition);

    &:hover {
        opacity: 0.75;
    }
}

/**
 * Sector hero
 */
.sector-hero {
    position: relative;
    overflow: hidden;
}

.sector-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, rgba(5, 220, 124, 0.2), rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
}

.sector-hero__bg {
    display: none;
}

@media (min-width: 768px) {
    .sector-hero__bg {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 50%;
        background-size: cover;
        background-position: center;
    }

    .sector-hero__bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(35, 49, 57, 1) 10%, rgba(0, 0, 0, 0) 100%);
    }
}

/**
 * Pijlen achtergrond
 */
.section-arrows {
    position: relative;
}

.section-arrows::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='183.402' height='292.478' viewBox='0 0 183.402 292.478'%3E%3Cpath d='M2.663,0,89.1,146.239-.169,292.478H89.689L145.182,205.7l38.051-59.464L145.886,86.792,91.4,0Z' transform='translate(0.169)' fill='%23eff1ee'/%3E%3C/svg%3E");
    background-image: var(--chevron), var(--chevron);
    background-repeat: repeat-x, repeat-x;
    background-size: 130px 100%;
    background-position: 0 0, 12px 0px;
    opacity: 0.05;
}


/**
 * Sector gelinkte oplossingen, sector gelinkte sectoren, oplossing gelinkte oplossingen
 */
.sector-gelinkte-oplossingen__card, .sector-gelinkte-sectoren__card, .oplossing-gelinkte-oplossingen__card {
    background-color: rgba(239, 241, 239, 0.05);
    border: 1px solid rgba(239, 241, 239, 0.25);
    border-radius: var(--default-border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    &:hover {
        background-color: rgba(239, 241, 239, 0.1);
    }
}


/**
 * Header
 */
#header-bottom-bar {
    background-color: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(239, 241, 239, 0.1);
    border-bottom: 1px solid rgba(239, 241, 239, 0.1);
}

#header-bottom-bar-oplossingen {
    a {
        color: rgba(239, 241, 239, 0.5);
        font-size: var(--text-16pt);
        font-weight: 300;
        text-decoration: none;
        transition: all 0.3s ease;
        width: fit-content;
        flex-shrink: 0;
        &:hover {
            color: var(--color-yellow-500);
        }
    }
}

#header-bottom-bar-links {
    a {
        color: var(--color-grey-100);
        font-size: var(--text-18pt);
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
        &:hover {
            color: var(--color-yellow-500);
        }
    }
}


/**
 * Sector slider
 */
.sector-slider-card {
    background-color: rgba(239, 241, 239, 0.1);
    border: 1px solid rgba(239, 241, 239, 0.25);
    transition: var(--default-transition);

    &:hover {
        background-color: rgba(239, 241, 239, 0.15);
    }
}

.sector-slider-card__image {
    clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0% 100%, 80px 50%, 0% 0%);
    background-size: cover;
    background-position: center;
}

.slider--multiple {
    --f-carousel-gap: 16px;
}

.slider--multiple .f-carousel__slide {
    opacity: 0.5;
    transition: opacity 0.3s ease;

    &:hover {
        opacity: 1;
    }
}

.slider--multiple .f-carousel__slide.is-selected {
    opacity: 1;
}

.f-carousel__dots {
    transform: translateY(30px);
}

.slider--multiple .f-carousel__dot {
    width: 16px;
    height: 8px;
    border-radius: 4px;
    background-color: var(--color-grey-100);
    position: relative;
}

.slider--multiple .f-carousel__dot[aria-current="true"] {
    width: 32px;
    background-color: var(--color-yellow-500);
}

.slider--multiple .f-carousel__dot::after {
    content: none;
}

.sector-slider-small-card__image {
    mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}