@import './IndexStyle.css';

.testimonials-container{
    width: 100%;
    max-width: 2600px;
    overflow: hidden;
    position: relative;
}

.testimonials-container-content{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2cqi;
    padding-bottom: 5.5cqi;
}

.testimonials-header-div{
    margin: 0 auto;
    background-color: #444444 ;
    width: min(1680px, 80%);
    padding: 20px 25px;
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.5s ease, opacity 0.3s;
}

.testimonials-header-div.in-view{
    opacity: 1;
    transform: translateX(0%);
}

.testimonials-header-div h2{
    position: relative;
    font-family: var(--main-font);
    font-size: calc(var(--margin-xl) + 0.2rem);
    color: whitesmoke;
    font-weight: 600;
    width: fit-content;
    transition: transform 0.15s linear;
}

.testimonials-header-div.on-place h2{
    transform: translateY(-8px);
}

.testimonials-header-div h2::after{
    content: '';
    position: absolute;
    left: 0;
    height: 3px;
    bottom: -7px;
    width: 0;
    background-color: var(--secondary-color);
    transform-origin: left;
    transition: width 0.3s ease;
}

.testimonials-header-div.on-place h2::after{
    width: 100%;
}

.alt-body {
    transform: translateX(-100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 5;
}


.alt-body.in-view {
    transform: translateX(0%);
}


.testimonial-wrapper {
    width: min(1680px, 80%);
    position: relative;
    padding-bottom: 0rem;
}

.testimonials-container .carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel.no-transition {
    scroll-behavior: auto;
}
.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}
.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel .card {
    scroll-snap-align: start;
    list-style: none;
    flex-direction: column;
    border-radius: 8px;
    cursor: default;
}

  
.testimonials-item{
    background-color: #444444 ;
    padding: 25px 25px;
    border-radius: 12px;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4em;
}

.testimonials-item-statement{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonials-item-statement img{
    pointer-events: none;
    width: fit-content;
    height: 40px;
}

.testimonials-item-statement p{
    font-family: var(--main-font);
    font-size: 1.45rem;
    color: whitesmoke;
    font-weight: 600;
    line-height: 1.8;
}

.testimonials-item-info{
    display: flex;
    flex-direction: row;
    height: 45px;
}

.testimonials-item-info-wrapper{
    display: flex;
    gap: 0.75rem;
}

.testimonials-item-info img{
    pointer-events: none;
    height: 100%;
    width: auto;
}

.testimonials-item-info a{
    text-align: center;
    text-decoration: none;
    color: whitesmoke;
    font-family: var(--main-font);
    font-size: 1rem;
    font-weight: 600;

    background-color: var(--primary-color);
    z-index: 1;
    padding: 0em 0.5em;
    border-radius: 5px;
    margin-left: auto;

    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: all 0.2s ease;
}


.testimonials-item-info a:hover{
    scale: 1.05;
    background-color: var(--primary-color-dark-10);
}

.testimonials-item-info a:active{
    background-color: var(--primary-color-dark-20);
}

.testimonials-item-info-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonials-item-info-text h3{
    font-family: var(--main-font);
    font-size: 1.05rem;
    color: whitesmoke;
    font-weight: 600;
}

.testimonials-item-info-text span{
    font-family: var(--main-font);
    font-size: 1.05rem;
    color: whitesmoke;
    font-weight: 400;
    font-style: italic;
}


.testimonials-arrows-wrapper{
    z-index: 2;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: fit-content;
}

.testimonials-arrows-container{
    display: flex;
    flex-direction: row;
    gap: 5rem;
    padding: 10px 15px;
    background-color: #444444;
    border-radius: 14px;
    transform: translateY(0%);
    opacity: 0;

    transition: transform 0.5s ease, opacity 0.3s;
}

.testimonials-arrows-container.in-view{
    opacity: 1;
    animation: bouncy-drop 2s ease-in-out;
}

@keyframes bouncy-drop {
    0% {
        transform: translateY(-400%);
    }

    15% {
        transform: translateY(0%);
    }

    25% {
        transform: translateY(-70%);
    }

    35% {
        transform: translateY(0%);
    }

    45% {
        transform: translateY(-40%);
    }

    55% {
        transform: translateY(0%);
    }

    65% {
        transform: translateY(-15%);
    }

    75% {
        transform: translateY(0%);
    }

    85% {
        transform: translateY(-7%);
    }

    100% {
        transform: translateY(0%);
    }
}

.testimonials-container i {
    user-select: none;
    height: 50px;
    aspect-ratio: 1/1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0%);
    opacity: 0;
    background: var(--primary-color);
    color: whitesmoke;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    transition: transform 0.1s linear, opacity 0.3s ease;
}

.testimonials-container i img{
    height: 22px;
    width: auto;
}

.testimonials-container i:nth-of-type(1) img{
    transform: translateX(-1px);
}
  .testimonials-container i:nth-of-type(2) img{
    transform: translateX(2px);
}

.testimonials-container i.in-view {
    opacity: 1;
    animation: bouncy-drop 2s ease-in-out;
}



.testimonials-container i:active{
    transform: scale(0.85);
}

@media screen and (max-width: 1680px){
    .testimonials-container .carousel{
        grid-auto-columns: calc((100% / 2) - 9px);
        gap: 16px;
    }
}

@media screen and (max-width: 1280px){
    
.testimonials-container-content{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2cqi;
    padding-bottom: 5.5cqi;
}

.testimonials-header-div{
    margin: 0 auto;
    background-color: #444444 ;
    width: min(1680px, 80%);
    padding: 15px 20px;
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.5s ease, opacity 0.3s;
}

.testimonials-header-div.in-view{
    opacity: 1;
    transform: translateX(0%);
}

.testimonials-header-div h2{
    position: relative;
    font-family: var(--main-font);
    font-size: calc(var(--margin-l) + 0.2rem);
    color: whitesmoke;
    font-weight: 600;
    width: fit-content;
    transition: transform 0.15s linear;
}

.testimonials-header-div.on-place h2{
    transform: translateY(-8px);
}

.testimonials-header-div h2::after{
    content: '';
    position: absolute;
    left: 0;
    height: 2px;
    bottom: -7px;
    width: 0;
    background-color: var(--secondary-color);
    transform-origin: left;
    transition: width 0.3s ease;
}

.testimonials-header-div.on-place h2::after{
    width: 100%;
}

.alt-body {
    transform: translateX(-100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 5;
}


.alt-body.in-view {
    transform: translateX(0%);
}


.testimonial-wrapper {
    width: min(1680px, 80%);
    position: relative;
    padding-bottom: 1.5%;
}

.testimonials-container .carousel{
    display: grid;
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel.no-transition {
    scroll-behavior: auto;
}
.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}
.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel .card {
    scroll-snap-align: start;
    list-style: none;
    flex-direction: column;
    border-radius: 8px;
    cursor: default;
}

  
.testimonials-item{
    background-color: #444444 ;
    padding: 20px 20px;
    border-radius: 12px;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3em;
}

.testimonials-item-statement{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonials-item-statement img{
    pointer-events: none;
    width: fit-content;
    height: 35px;
}

.testimonials-item-statement p{
    font-family: var(--main-font);
    font-size: 1.3rem;
    color: whitesmoke;
    font-weight: 600;
    line-height: 1.8;
}

.testimonials-item-info{
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    height: 40px;
}

.testimonials-item-info img{
    pointer-events: none;
    height: 100%;
    width: auto;
}

.testimonials-item-info a{
    text-align: center;
    text-decoration: none;
    color: whitesmoke;
    font-family: var(--main-font);
    font-size: 0.8rem;
    font-weight: 600;

    background-color: var(--primary-color);
    z-index: 1;
    padding: 0em 0.5em;
    border-radius: 5px;
    margin-left: auto;

    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: all 0.2s ease;
}


.testimonials-item-info a:hover{
    scale: 1.05;
    background-color: var(--primary-color-dark-10);
}

.testimonials-item-info a:active{
    background-color: var(--primary-color-dark-20);
}

.testimonials-item-info-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonials-item-info-text h3{
    font-family: var(--main-font);
    font-size: 0.9rem;
    color: whitesmoke;
    font-weight: 600;
}

.testimonials-item-info-text span{
    font-family: var(--main-font);
    font-size: 0.9rem;
    color: whitesmoke;
    font-weight: 400;
    font-style: italic;
}


.testimonials-arrows-wrapper{
    z-index: 2;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: fit-content;
}

.testimonials-arrows-container{
    display: flex;
    flex-direction: row;
    gap: 5rem;
    padding: 10px 15px;
    background-color: #444444;
    border-radius: 12px;
    transform: translateY(0%);
    opacity: 0;

    transition: transform 0.5s ease, opacity 0.3s;
}

.testimonials-arrows-container.in-view{
    opacity: 1;
    animation: bouncy-drop 2s ease-in-out;
}

@keyframes bouncy-drop {
    0% {
        transform: translateY(-400%);
    }

    15% {
        transform: translateY(0%);
    }

    25% {
        transform: translateY(-70%);
    }

    35% {
        transform: translateY(0%);
    }

    45% {
        transform: translateY(-40%);
    }

    55% {
        transform: translateY(0%);
    }

    65% {
        transform: translateY(-15%);
    }

    75% {
        transform: translateY(0%);
    }

    85% {
        transform: translateY(-7%);
    }

    100% {
        transform: translateY(0%);
    }
}

.testimonials-container i {
    user-select: none;
    height: 40px;
    aspect-ratio: 1/1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0%);
    opacity: 0;
    background: var(--primary-color);
    color: whitesmoke;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    transition: transform 0.1s linear, opacity 0.3s ease;
}

.testimonials-container i img{
    height: 16px;
    width: auto;
}

.testimonials-container i:nth-of-type(1) img{
    transform: translateX(-1px);
}
  .testimonials-container i:nth-of-type(2) img{
    transform: translateX(2px);
}

.testimonials-container i.in-view {
    opacity: 1;
    animation: bouncy-drop 2s ease-in-out;
}



.testimonials-container i:active{
    transform: scale(0.85);
}

}

@media screen and (max-width: 1024px){
    .testimonials-container .carousel{
        grid-auto-columns: calc((100% / 1));
    }

    .testimonials-item{
        padding: 4%;
        border-radius: 10px;
    
        gap: 4em;
    }
}

@media screen and (max-width: 800px){

.testimonials-container-content{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2cqi;
    padding-bottom: 5.5cqi;
}

.testimonials-header-div{
    margin: 0 auto;
    background-color: #444444 ;
    width: 90%;
    padding: 3% 4%;
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.5s ease, opacity 0.3s;
}

.testimonials-header-div.in-view{
    opacity: 1;
    transform: translateX(0%);
}

.testimonials-header-div h2{
    text-wrap: balance;
    position: relative;
    font-family: var(--main-font);
    font-size: calc(var(--margin-xl));
    color: whitesmoke;
    font-weight: 600;
    min-width: 65%;
    transition: transform 0.15s linear;
}

.testimonials-header-div.on-place h2{
    transform: translateY(-6px);
}

.testimonials-header-div h2::after{
    content: '';
    position: absolute;
    left: 0;
    height: 3px;
    bottom: -10px;
    width: 0;
    background-color: var(--secondary-color);
    transform-origin: left;
    transition: width 0.3s ease;
}

.testimonials-header-div.on-place h2::after{
    width: 100%;
}

.alt-body {
    transform: translateX(-100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 5;
}


.alt-body.in-view {
    transform: translateX(0%);
}

.testimonials-container .carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 1));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.testimonial-wrapper {
    width: 90%;
    position: relative;
    padding-bottom: 4rem;
}

.carousel::-webkit-scrollbar {
    display: none;
}
.carousel.no-transition {
    scroll-behavior: auto;
}
.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}
.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel .card {
    scroll-snap-align: start;
    list-style: none;
    flex-direction: column;
    border-radius: 8px;
    cursor: default;
}
  
.testimonials-item{
    background-color: #444444 ;
    padding: 5%;
    border-radius: 12px;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3em;
}

.testimonials-item-statement{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonials-item-statement img{
    pointer-events: none;
    width: fit-content;
    height: 40px;
}

.testimonials-item-statement p{
    font-family: var(--main-font);
    font-size: calc(var(--margin-l) + 0.2rem);
    color: whitesmoke;
    font-weight: 600;
    line-height: 1.8;
}

.testimonials-item-info{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 45px;
}

.testimonials-item-info img{
    pointer-events: none;
    height: 100%;
    width: auto;
}

.testimonials-item-info a{
    text-align: center;
    text-decoration: none;
    color: whitesmoke;
    font-family: var(--main-font);
    font-size: 1rem;
    font-weight: 600;

    background-color: var(--primary-color);
    z-index: 1;
    padding: 0em 1em;
    border-radius: 5px;
    margin-left: auto;

    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: all 0.2s ease;
}


.testimonials-item-info a:hover{
    scale: 1.05;
    background-color: var(--primary-color-dark-10);
}

.testimonials-item-info a:active{
    background-color: var(--primary-color-dark-20);
}

.testimonials-item-info{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    height: fit-content;
}

.testimonials-item-info-wrapper{
    display: flex;
    flex-direction: row;
    gap: 10px;
    height: 45px;
}

.testimonials-item-info-text h3{
    font-family: var(--main-font);
    font-size: var(--margin-xm);
    color: whitesmoke;
    font-weight: 600;
}

.testimonials-item-info-text span{
    font-family: var(--main-font);
    font-size: var(--margin-xm);
    color: whitesmoke;
    font-weight: 400;
    font-style: italic;
}


.testimonials-arrows-wrapper{
    z-index: 5;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 90%;
}

.testimonials-arrows-container{
    z-index: 5;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background-color: #444444;
    border-radius: 14px;
    transform: translateY(0%);
    opacity: 0;

    transition: transform 0.5s ease, opacity 0.3s;
}

.testimonials-arrows-container.in-view{
    opacity: 1;
    animation: bouncy-drop 2s ease-in-out;
}

@keyframes bouncy-drop {
    0% {
        transform: translateY(-400%);
    }

    15% {
        transform: translateY(0%);
    }

    25% {
        transform: translateY(-70%);
    }

    35% {
        transform: translateY(0%);
    }

    45% {
        transform: translateY(-40%);
    }

    55% {
        transform: translateY(0%);
    }

    65% {
        transform: translateY(-15%);
    }

    75% {
        transform: translateY(0%);
    }

    85% {
        transform: translateY(-7%);
    }

    100% {
        transform: translateY(0%);
    }
}

.testimonials-container i {
    z-index: 5;
    user-select: none;
    height: 50px;
    aspect-ratio: 1/1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0%);
    opacity: 0;
    background: var(--primary-color);
    color: whitesmoke;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    transition: transform 0.1s linear, opacity 0.3s ease;
}

.testimonials-container i img{
    height: 25px;
    width: auto;
}

.testimonials-container i:nth-of-type(1) img{
    transform: translateX(-1px);
}
  .testimonials-container i:nth-of-type(2) img{
    transform: translateX(2px);
}

.testimonials-container i.in-view {
    opacity: 1;
    animation: bouncy-drop 2s ease-in-out;
}



.testimonials-container i:active{
    transform: scale(0.85);
}
}

@media screen and (max-width: 500px){

    .testimonials-container-content{
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 2cqi;
        padding-bottom: 5.5cqi;
    }
    
    .testimonials-header-div{
        margin: 0 auto;
        background-color: #444444 ;
        width: 90%;
        padding: 3% 4%;
        border-radius: 12px;
        opacity: 0;
        transform: translateX(-100%);
        transition: transform 0.5s ease, opacity 0.3s;
    }
    
    .testimonials-header-div.in-view{
        opacity: 1;
        transform: translateX(0%);
    }
    
    .testimonials-header-div h2{
        text-wrap: balance;
        position: relative;
        font-family: var(--main-font);
        font-size: calc(var(--margin-l) + 0.2rem);
        color: whitesmoke;
        font-weight: 600;
        min-width: 65%;
        transition: transform 0.15s linear;
    }
    
    .testimonials-header-div.on-place h2{
        transform: translateY(-10%);
    }
    
    .testimonials-header-div h2::after{
        content: '';
        position: absolute;
        left: 0;
        height: 3px;
        bottom: -10px;
        width: 0;
        background-color: var(--secondary-color);
        transform-origin: left;
        transition: width 0.3s ease;
    }
    
    .testimonials-header-div.on-place h2::after{
        width: 100%;
    }
    
    .alt-body {
        transform: translateX(-100%);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        transition: transform 0.5s ease;
        position: relative;
        z-index: 5;
    }
    
    
    .alt-body.in-view {
        transform: translateX(0%);
    }
    
    
    .testimonial-wrapper {
        width: 90%;
        position: relative;
        padding-bottom: 4rem;
    }
    
    .testimonials-container .carousel{
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% / 1));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .carousel::-webkit-scrollbar {
        display: none;
    }
    .carousel.no-transition {
        scroll-behavior: auto;
    }
    .carousel.dragging {
        scroll-snap-type: none;
        scroll-behavior: auto;
    }
    .carousel.dragging .card {
        cursor: grab;
        user-select: none;
    }
    .carousel :where(.card, .img) {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .carousel .card {
        scroll-snap-align: start;
        list-style: none;
        flex-direction: column;
        border-radius: 8px;
        cursor: default;
    }
    
      
    .testimonials-item{
        background-color: #444444 ;
        padding: 5%;
        border-radius: 12px;
        height: 100%;
    
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 3em;
    }
    
    .testimonials-item-statement{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonials-item-statement img{
        pointer-events: none;
        width: fit-content;
        height: 35px;
    }
    
    .testimonials-item-statement p{
        font-family: var(--main-font);
        font-size: calc(var(--margin-l) + .05rem);
        color: whitesmoke;
        font-weight: 600;
        line-height: 1.8;
    }
    
    .testimonials-item-info{
        display: flex;
        flex-direction: column;
        gap: 2rem;
        height: fit-content;
    }
    
    .testimonials-item-info-wrapper{
        display: flex;
        gap: 10px;
        height: 45px;
    }
    
    .testimonials-item-info img{
        pointer-events: none;
        height: 100%;
        width: auto;
    }
    
    .testimonials-item-info a{
        text-align: center;
        text-decoration: none;
        color: whitesmoke;
        font-family: var(--main-font);
        font-size: 1rem;
        font-weight: 600;
    
        background-color: var(--primary-color);
        z-index: 1;
        padding: 0.25em 1em;
        border-radius: 5px;
        margin-left: 0;
        width: fit-content;
        position: relative;
        display: flex;
        align-items: center;
        overflow: hidden;
        transition: all 0.2s ease;
    }
    
    
    .testimonials-item-info a:hover{
        scale: 1.05;
        background-color: var(--primary-color-dark-10);
    }
    
    .testimonials-item-info a:active{
        background-color: var(--primary-color-dark-20);
    }
    
    .testimonials-item-info-text{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    
    .testimonials-item-info-text h3{
        font-family: var(--main-font);
        font-size: var(--margin-m);
        color: whitesmoke;
        font-weight: 600;
    }
    
    .testimonials-item-info-text span{
        font-family: var(--main-font);
        font-size: var(--margin-m);
        color: whitesmoke;
        font-weight: 400;
        font-style: italic;
    }
    
    
    .testimonials-arrows-wrapper{
        z-index: 5;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 90%;
    }
    
    .testimonials-arrows-container{
        z-index: 5;
        justify-content: space-between;
        padding: 0.75rem 1.25rem;
        background-color: #444444;
        border-radius: 14px;
        transform: translateY(0%);
        opacity: 0;
    
        transition: transform 0.5s ease, opacity 0.3s;
    }
    
    .testimonials-arrows-container.in-view{
        opacity: 1;
        animation: bouncy-drop 2s ease-in-out;
    }
    
    @keyframes bouncy-drop {
        0% {
            transform: translateY(-400%);
        }
    
        15% {
            transform: translateY(0%);
        }
    
        25% {
            transform: translateY(-70%);
        }
    
        35% {
            transform: translateY(0%);
        }
    
        45% {
            transform: translateY(-40%);
        }
    
        55% {
            transform: translateY(0%);
        }
    
        65% {
            transform: translateY(-15%);
        }
    
        75% {
            transform: translateY(0%);
        }
    
        85% {
            transform: translateY(-7%);
        }
    
        100% {
            transform: translateY(0%);
        }
    }
    
    .testimonials-container i {
        z-index: 5;
        user-select: none;
        height: 50px;
        aspect-ratio: 1/1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(0%);
        opacity: 0;
        background: var(--primary-color);
        color: whitesmoke;
        border-radius: 50%;
        box-shadow: 0 3px 6px rgba(0,0,0,0.3);
        transition: transform 0.1s linear, opacity 0.3s ease;
    }
    
    .testimonials-container i img{
        height: 25px;
        width: auto;
    }
    
    .testimonials-container i:nth-of-type(1) img{
        transform: translateX(-1px);
    }
      .testimonials-container i:nth-of-type(2) img{
        transform: translateX(2px);
    }
    
    .testimonials-container i.in-view {
        opacity: 1;
        animation: bouncy-drop 2s ease-in-out;
    }
    
    
    
    .testimonials-container i:active{
        transform: scale(0.85);
    }
    }

@media screen and (max-width: 375px){

    .testimonials-container-content{
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 2cqi;
        padding-bottom: 5.5cqi;
    }
    
    .testimonials-header-div{
        margin: 0 auto;
        background-color: #444444 ;
        width: 90%;
        padding: 3% 4%;
        border-radius: 12px;
        opacity: 0;
        transform: translateX(-100%);
        transition: transform 0.5s ease, opacity 0.3s;
    }
    
    .testimonials-header-div.in-view{
        opacity: 1;
        transform: translateX(0%);
    }
    
    .testimonials-header-div h2{
        text-wrap: balance;
        position: relative;
        font-family: var(--main-font);
        font-size: calc(var(--margin-l) + 0rem);
        color: whitesmoke;
        font-weight: 600;
        min-width: 65%;
        transition: transform 0.15s linear;
    }
    
    .testimonials-header-div.on-place h2{
        transform: translateY(-6px);
    }
    
    .testimonials-header-div h2::after{
        content: '';
        position: absolute;
        left: 0;
        height: 2px;
        bottom: -10%;
        width: 0;
        background-color: var(--secondary-color);
        transform-origin: left;
        transition: width 0.3s ease;
    }
    
    .testimonials-header-div.on-place h2::after{
        width: 100%;
    }
    
    .alt-body {
        transform: translateX(-100%);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        transition: transform 0.5s ease;
        position: relative;
        z-index: 5;
    }
    
    
    .alt-body.in-view {
        transform: translateX(0%);
    }
    
    
    .testimonial-wrapper {
        width: 90%;
        position: relative;
        padding-bottom: 4rem;
    }
    
    .testimonials-container .carousel{
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% / 1));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .carousel::-webkit-scrollbar {
        display: none;
    }
    .carousel.no-transition {
        scroll-behavior: auto;
    }
    .carousel.dragging {
        scroll-snap-type: none;
        scroll-behavior: auto;
    }
    .carousel.dragging .card {
        cursor: grab;
        user-select: none;
    }
    .carousel :where(.card, .img) {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .carousel .card {
        scroll-snap-align: start;
        list-style: none;
        flex-direction: column;
        border-radius: 8px;
        cursor: default;
    }
    
      
    .testimonials-item{
        background-color: #444444 ;
        padding: 5%;
        border-radius: 12px;
        height: 100%;
    
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 2em;
    }
    
    .testimonials-item-statement{
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .testimonials-item-statement img{
        pointer-events: none;
        width: fit-content;
        height: 28px;
    }
    
    .testimonials-item-statement p{
        font-family: var(--main-font);
        font-size: 1.1rem;
        color: whitesmoke;
        font-weight: 600;
        line-height: 1.8;
    }
    
    .testimonials-item-info{
        display: flex;
        flex-direction: column;
        gap: 1rem;
        height: fit-content;
    }
    
    .testimonials-item-info-wrapper{
        display: flex;
        gap: 10px;
        height: 35px;
    }
    
    .testimonials-item-info img{
        pointer-events: none;
        height: 100%;
        width: auto;
    }
    
    .testimonials-item-info a{
        text-align: center;
        text-decoration: none;
        color: whitesmoke;
        font-family: var(--main-font);
        font-size: 0.75rem;
        font-weight: 600;
    
        background-color: var(--primary-color);
        z-index: 1;
        border-radius: 5px;
    
        position: relative;
        display: flex;
        align-items: center;
        overflow: hidden;
        transition: all 0.2s ease;
    }
    
    
    .testimonials-item-info a:hover{
        scale: 1.05;
        background-color: var(--primary-color-dark-10);
    }
    
    .testimonials-item-info a:active{
        background-color: var(--primary-color-dark-20);
    }
    
    .testimonials-item-info-text{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    
    .testimonials-item-info-text h3{
        font-family: var(--main-font);
        font-size: 0.8rem;
        color: whitesmoke;
        font-weight: 600;
    }
    
    .testimonials-item-info-text span{
        font-family: var(--main-font);
        font-size: 0.85rem;
        color: whitesmoke;
        font-weight: 400;
        font-style: italic;
    }
    
    
    .testimonials-arrows-wrapper{
        z-index: 5;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 90%;
    }
    
    .testimonials-arrows-container{
        z-index: 5;
        justify-content: space-between;
        padding: 0.75rem 1.25rem;
        background-color: #444444;
        border-radius: 14px;
        transform: translateY(0%);
        opacity: 0;
    
        transition: transform 0.5s ease, opacity 0.3s;
    }
    
    .testimonials-arrows-container.in-view{
        opacity: 1;
        animation: bouncy-drop 2s ease-in-out;
    }
    
    @keyframes bouncy-drop {
        0% {
            transform: translateY(-400%);
        }
    
        15% {
            transform: translateY(0%);
        }
    
        25% {
            transform: translateY(-70%);
        }
    
        35% {
            transform: translateY(0%);
        }
    
        45% {
            transform: translateY(-40%);
        }
    
        55% {
            transform: translateY(0%);
        }
    
        65% {
            transform: translateY(-15%);
        }
    
        75% {
            transform: translateY(0%);
        }
    
        85% {
            transform: translateY(-7%);
        }
    
        100% {
            transform: translateY(0%);
        }
    }
    
    .testimonials-container i {
        z-index: 5;
        user-select: none;
        height: 40px;
        aspect-ratio: 1/1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(0%);
        opacity: 0;
        background: var(--primary-color);
        color: whitesmoke;
        border-radius: 50%;
        box-shadow: 0 3px 6px rgba(0,0,0,0.3);
        transition: transform 0.1s linear, opacity 0.3s ease;
    }
    
    .testimonials-container i img{
        height: 20px;
        width: auto;
    }
    
    .testimonials-container i:nth-of-type(1) img{
        transform: translateX(-1px);
    }
      .testimonials-container i:nth-of-type(2) img{
        transform: translateX(2px);
    }
    
    .testimonials-container i.in-view {
        opacity: 1;
        animation: bouncy-drop 2s ease-in-out;
    }
    
    
    
    .testimonials-container i:active{
        transform: scale(0.85);
    }
}