#jb-hat{
    position: absolute;
    top: calc(var(--spacing) / 2);
    left: 50%;
    transform: translateX(-50%);
    height: calc(var(--spacing) * 3);
    cursor: pointer;
    z-index: 100;
}

/* Main carousel */
#desktop-carousel{
    display: flex;
    gap: calc(var(--spacing) * 1);
    width: 100%;
    height: 100vh;
    /* background: linear-gradient(180deg,rgba(227, 29, 28, 1) 0%, rgba(0, 0, 0, 1) 100%); */
    /* background-image: url('../../images/common/bg2.jpg'); */
    /* background-color: black; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: calc(var(--spacing) * 6) calc(var(--spacing) * 4);
}

.desktop-carousel-slide{
    position: relative;
    flex: 1 1 0%;
    aspect-ratio: 16 / 9;
    /* cursor: pointer; */
    overflow: hidden;
    border-radius: var(--spacing);
    transition: var(--transitionAll);
}

.desktop-carousel-slide.active{
    flex: 3 1 0%;
}

.desktop-carousel-slide{
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-slide-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.6;
    transition: var(--transitionAll);
}

.carousel-slide-text{
    position: absolute;
    bottom: -100%;
    left: 3%;
    opacity: 0;
}

.carousel-slide-text h2{
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: var(--xxLarge);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
}

.carousel-slide-text p{
    width: 50%;
    font-family: 'Work Sans', sans-serif;
    font-size: var(--large);
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    margin: 0;
}

.desktop-carousel-slide.active .carousel-slide-text{
    bottom: 3%;
    opacity: 1;
    transition: all 0.9s ease;
}

#mobile-carousel{
    display: none;
}

@media screen and (max-width: 600px) {
    #desktop-carousel{
        display: none;
    }

    #mobile-carousel{
        display: block;
    }

    .carousel-slide-text{
        bottom: 10%;
        opacity: 1;
        text-align: right;
    }

    .carousel-slide-text h2{
        width: 80%;
        font-size: var(--large);
    }

    .carousel-slide-text p{
        width: 80%;
        font-size: var(--medium);
    }
}

@media screen and (min-width: 601px) and (max-width: 768px) {
    #desktop-carousel{
        padding: 0;
    }

    .desktop-carousel-slide{
        border-radius: 0;
    }

    .carousel-slide-text h2{
        width: 95%;
        line-height: 1.2;
    }

    .carousel-slide-text p{
        width: 95%;
    }
}

@media screen and (min-width: 769px) and (max-width: 834px) {
    #desktop-carousel{
        padding: calc(var(--spacing) * 2) calc(var(--spacing) * 2);
    }

    .carousel-slide-text h2{
        width: 95%;
        line-height: 1.2;
    }

    .carousel-slide-text p{
        width: 95%;
    }
}

@media screen and (min-width: 835px) and (max-width: 1024px) {
    #desktop-carousel{
        padding: calc(var(--spacing) * 3) calc(var(--spacing) * 2);
    }
}
/* ----------------------------------- end carousel ----------------------------------- */

/* People carousel */
.people-results-slide{
    padding: 0 calc(var(--spacing) * 3) calc(var(--spacing) * 3) calc(var(--spacing) * 3);
}

.people-results-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: var(--xLarge);
    text-align: right;
    line-height: 1.2;
    font-weight: 600;
}

.people-results-text span{
    display: block;
    color: var(--themeRed);
    font-size: var(--xxLarge);
    margin-bottom: calc(var(--spacing) * 2);
    line-height: 1;
}

@media screen and (max-width: 600px) {
    .people-results-slide{
        padding: 0 calc(var(--spacing) * 1);
    }

    .people-results-text{
        font-size: var(--medium);
        text-align: center;
        padding: 0;
    }

    .people-results-text span{
        font-size: var(--large);
        margin-bottom: calc(var(--spacing) * 1);
    }
}
/* ----------------------------------- end people carousel --------------------------------------- */

/* Key proposals section */
#key-proposals img{
    height: calc(var(--spacing) * 4);
}
/* ----------------------------------- end key proposals --------------------------------------- */

/* Testimonial section */
.testimonial-card{
    display: flex;
    border-radius: calc(var(--spacing) / 2);
    overflow: hidden;
    box-shadow: var(--shadowFloor);
}

.testimonial-quote-container{
    position: relative;
    display: flex;
    width: 60%;
    background-color: white;
    padding: calc(var(--spacing) * 1);
    z-index: 1;
}

.testimonial-quote-container::after{
    content: '';
    position: absolute;
    top: 25%;
    right: -25px;
    width: 0;
    height: 0;
    border-left: 25px solid white;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    z-index: 1;
}

.testimonial-quote {
    font-family: 'Lexend', sans-serif;
    font-size: var(--xxLarge);
    color: var(--themeRed);
    line-height: 1;
    user-select: none;
}

.testimonial-quote.open {
    align-self: flex-start;
}

.testimonial-quote.close {
    align-self: flex-end;
    transform: rotate(180deg);
    margin-top: calc(var(--spacing) * -1);
}

.testimonial-text-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    margin-left: calc(var(--spacing) * 0.5);
}

.testimonial-text{
    font-family: 'Work Sans', sans-serif;
    font-size: var(--small);
    line-height: 1.4;
    margin-bottom: calc(var(--spacing) * 0.5);
}

.testimonial-author{
    font-family: 'Work Sans', sans-serif;
    font-size: var(--xSmall);
    font-weight: 600;
    color: var(--themeRed);
}

.testimonial-image{
    position: relative;
    width: 40%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.testimonial-image-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transitionAll);
}

@media screen and (max-width: 600px) {
    .testimonial-card{
        flex-direction: column;
    }

    .testimonial-quote-container{
        width: 100%;
    }

    .testimonial-quote-container::after{
        top: auto;
        bottom: -25px;
        right: 50%;
        transform: translateX(50%);
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-top: 25px solid white;
        border-bottom: 0;
    }

    .testimonial-image{
        width: 100%;
        height: 200px;
    }
}
/* ----------------------------------- end testimonial --------------------------------------- */