.case-studies{
    font-size: 1rem;
    width: 100%;
    height: 100vh;
    font-size: 1rem;
    justify-content: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Swiper Slider */
    .swiper {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    }
    .case-studies__down .swiper-button-next, .swiper-button-prev {
        margin-top: calc(1em - (var(--swiper-navigation-size)/ 2));
    }
    .case-studies__down .swiper{
        width: 100%;
        border-radius: 4em;
    }
    /* .case-studies .swiper-slide {
    font-size: 1rem;
    background: transparent;
    display: flex;
    width: 34em;
    height: 40em;
  } */

  .case-studies .autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
  }

  .case-studies .autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
  }
  .case-studies .swiper-wrapper{
    display: flex;
  }
/* END - Swiper Slider */
.case-studies__down{
    position: relative;
    padding: 5em 0;
    margin-top: 3em;
}
.bg__right{
    background: linear-gradient(0deg, #fff 25.52%, rgba(0, 69, 129, 0) 100%), url(../img/about-us-count-nummber-bg.svg);
    background-size: auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.05));
    background-position: right bottom;
    height: 100%;
    padding: 10em 0;
}
.case-studies__up{
    display: flex;
    position: relative;
    justify-content: center;
}
.case-studies .bg-title{
    text-align: center;
    background: var( --bg-highlight);
    display: inline-block;
    position: relative;
    border-radius: 6em;
    padding: 2em 3.5em;
    margin-right: 5%;
    height: fit-content;
}
.case-studies .bg-title h2{
    font-size: 3.2em;
    line-height: 1em;
    margin-top: -1em;
    color: var(--main-color);
}
.case-studies__disc {
    flex: 7;
    padding-right: 10%;
    font-size: 1.4em;
    padding-left: 2em;
    padding-bottom: 0.5em;
    font-weight: 500;
    color: var(--main-color);
    border-left: 5px solid var(--main-color);
}
.flip-card__inner{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    object-fit: cover;
}
.flip-card-up
.flip-card-down{
    width: 100%;
}
.flip-card__front{
    object-fit: cover;
    width: 100%;
}
.flip-card_up img{
    border-radius: 4em;
    object-fit: cover;
    height: 14em;
    width: 100%;
}
.autoplay-progress {
    display: none;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev {
    border: 2px solid var(--main-color);
    width: 3em;
    height: 3em;
    border-radius: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.5em;
    color: var(--main-color);
}
.swiper-button-next:hover{
    border: 2px solid var(--bg-highlight);
    background: var(--main-color);
}
.swiper-button-next:hover:after{
    color: var(--bg-highlight);
}
.swiper-button-prev:hover{
    border: 2px solid var(--bg-highlight);
    background: var(--main-color);
}
.swiper-button-prev:hover:after{
    color: var(--bg-highlight);
}
.swiper-button-next, .swiper-button-prev{
    border: 2px solid var(--main-color);
    width: 3em;
    height: 3em;
    border-radius: 50%;
}

.swiper-button-next1{
    width: 3em;
    height: 3em;
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -3.5em;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    z-index: 2;
}
.swiper-button-next1 i{
    font-size: 2em;
}
.swiper-button-next1:hover{
    color: var(--bg-highlight);
    border-color: var(--bg-highlight);
    background: var(--main-color);
}
.swiper-button-prev1{
    width: 3em;
    height: 3em;
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -3.5em;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    z-index: 2;
}
.swiper-button-prev1 i{
    font-size: 2em;
}
.swiper-button-prev1:hover{
    color: var(--bg-highlight);
    border-color: var(--bg-highlight);
    background: var(--main-color);
}
.case-studies__down .content-flip{
    z-index: 11;
    color: var(--white2);
    display: flex;
    flex-direction: column;
    position: absolute;
    justify-content: first baseline;
    left: 2em;
    bottom: 5%;
    margin-top: 2em;
}
.content-flip a{
    font-size: 1.8em;
    font-weight: 600;
}
.content-flip h4{
    font-size: 1.6em;
    font-weight: 400;
}
.case-studies__down .autoplay-progress{
    display: none;
}

.case-studies .flip-card-up .cover,
.case-studies .flip-card-down .cover
{
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    border-radius: 6.5em;
}
.case-studies .tag-area{
    display: flex;
    position: absolute;
    top: 15px;
    left: 15px;
    right: 0;
    gap: 5px;
    z-index: 100;
}
.case-studies .tag-area h4{
    font-size: 1.2em;
    padding: 0.5em 1em;
    color: var(--white2);
    padding: 5px 20px;
    background: rgba(0, 69, 129, 0.4);
    border-radius: 12.5px;
}
.case-studies .flip-back-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 67, 129, 0.9) 46.07%, rgba(129, 230, 201, 0.9) 87.89%);
    border-radius: 4em;
    z-index: 10;
    cursor: pointer;
}
.case-studies .flip-card__front img{
    width: 100%;
    height: 18em;
    object-fit: cover;
    border-radius: 4em;
}
.flip-card__back img{
    width: 100%;
    height: 18em;
    object-fit: cover;
    border-radius: 4em;
}
.case-studies .flip-card-up:hover .cover,
.case-studies .flip-card-up.hover {
    -webkit-transform: rotateY(180deg);
    transition-delay: 0.1s;
}
.case-studies .flip-card-down:hover .cover,
.case-studies .flip-card-down.hover {
    -webkit-transform: rotateY(180deg);
    transition-delay: 0.1s;
}

.flip-card__front, 
.flip-card__back{
    -webkit-backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
.flip-card__front{
    position: relative;
    z-index: 2;
}
.flip-card__back{
    width: 100%;
    position: absolute;
    -webkit-transform: rotateY(180deg);
}

/* .mySwiper{
    width: 100%;
    height: 100%;
}
.mySwiper .swiper-slide{
    height: auto; 
}
.mySwiper img{
    width: 100%;
    vertical-align: bottom;
} */